package com.zkthink.ceres.pay.wechat.v3.entity.request.combine;

import com.alibaba.fastjson.annotation.JSONField;
import lombok.*;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 *      结算信息
 * </p>
 *
 * @author vivi.huang
 * @since 2020/5/17
 */
@Data
@EqualsAndHashCode()
@Builder(builderMethodName = "newBuilder")
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
public class SettleInfo implements Serializable {

    private static final long serialVersionUID = -9039287940799718819L;

    /**
     * 是否指定分账
     * 不是必填
     * 是否指定分账，枚举值：
     *             true：是
     *             false：否
     */
    @JSONField(name = "profit_sharing")
    private boolean profit_sharing;

    /**
     * 补差金额
     * 不是必填
     * SettleInfo.profit_sharing为true时，该金额才生效。
 *     示例值：10
     */
    @JSONField(name = "subsidy_amount")
    private Long subsidyAmount;


}